<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Create a shortcut for params.
$params = &$this->item->params;
$images = json_decode($this->item->images);
$canEdit	= $this->item->params->get('access-edit');
//var_dump($images->image_intro);
?>

<li>
<a href="#" target="_self"><img src="<?php echo JURI::base().$images->image_fulltext; ?>" class="random"  /></a>
	    <div class="label_text">

                <h5><?php echo $this->escape($this->item->title); ?></h5>
		<p class="ddtt">Detail</p>
		
		
		<?php echo preg_replace("/<img[^>]+\>/i", "(image) ", $this->item->introtext);  ?>
		
		<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>" class="ffdl cf4 pt20
		aaatt<?php echo $this->item->id  ?>">More Information &gt;&gt;</a>

</div>

</li>

<script type="text/javascript">

	setInterval('$(".aaatt<?php echo $this->item->id  ?>").attr("href", "<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>");', 500);

</script>